package com.smartmedical.patient.video.mapper;

import com.smartmedical.patient.video.domain.dto.PatientVideoCountDto;
import com.smartmedical.patient.video.domain.entity.PatientVideoCommentEntity;
import com.smartmedical.patient.video.domain.entity.PatientVideoCountEntity;
import com.smartmedical.patient.video.domain.vo.PatientVideoCommentVo;
import com.smartmedical.patient.video.domain.vo.PatientVodeoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VodeoMapper {
   List<PatientVodeoVo> findVideoCategoryList();

   void addVideoComment(@Param("videoId") int videoId, @Param("content") String content);

  void addUserVideoCollection(PatientVideoCountDto videoCountDto);

    List<PatientVideoCountDto>  fingVideoCount(@Param("videoId") Integer videoId);

    void videoBuy(@Param("videoId") Integer videoId, @Param("price") Integer price);


    PatientVideoCommentEntity findVideoCommentList(@Param("videoId") Integer videoId);
}
